package lagou.homework.lagou_homework_rocketmq.service;

import lagou.homework.lagou_homework_rocketmq.entity.Order;
import org.springframework.transaction.annotation.Transactional;

public interface GoodsService {
    @Transactional
    void decreaseStock(String orderNo, int buyNum);

    @Transactional
    void increaseStock(String orderNo, int buyNum);

}
